const sum=[6,1,2,3,4,6].reduce((accumalator,currentValue,currentIndex,Array)=>{
      console.log(accumalator) //默认是第一项的值
      console.log()
    //   return  accumalator+currentValue
})
console.log('------------')
// console.log(sum)